package com.chinasoft.cr.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chinasoft.cr.pojo.Reservations;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chinasoft.cr.pojo.vo.ReservationsParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-01-21
 */
public interface ReservationsMapper extends BaseMapper<Reservations> {
    Page<Reservations> selectPageVo(
            @Param("page") Page<Reservations> page,
//            @Param("userId") int userId,
//            @Param("date") int date
            @Param("p") ReservationsParam p
    );
}
